cmake_minimum_required(VERSION 3.10)
project(gndb)

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/inc)

set(LIBRARY_OUTPUT_PATH  ${CMAKE_CURRENT_SOURCE_DIR}/output)

file(GLOB_RECURSE SRC ${CMAKE_CURRENT_SOURCE_DIR}/dbsrc/*.cpp)

add_library(${gndb} SHARED ${SRC})

target_link_libraries(${gndb}
        sqlite3
        pq
        mysqlcppconn
        pthread
)
